<html>
    <head><title>book_display</title></head>
    <body>
        <form action="admin_et.php" method="POST" enctype="multipart/form-data">
            Username：<input type="text" name="name" value='<?php echo $res["username"]?>'><br>
            Password：<input type="password" name="password" ><br>
           <input type="hidden" name = 'PWD' value=<?php echo $res["password"];?>>
           <?php echo "<img src='{$res['pic']}'>";?><br>
           <input type="file" name="pic">
           <input type="hidden" name="isadmin" value=<?php echo $res["isadmin"];?>>
           <input type="hidden" name="pic" value=<?php echo $res["pic"];?>>
           <input type="hidden" name="id" value=<?php echo $id;?>>
           <input type="submit" value="修改" onclick="return confirm('确定保存吗？');">
        </form>

        <a href="javascript: history.back();">back</a><br>
        <?php echo $_SESSION['username'];?>
        <a href="logout.php" onclick="return confirm('确定退出吗？');">logout</a>
    </body>